package com.fsc.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fsc.entity.domain.GroupMember;
import com.fsc.entity.vo.GroupListContactVO;
import com.fsc.entity.vo.GroupWaitAddListVO;
import com.fsc.entity.vo.PersonContactListVO;
import com.fsc.entity.vo.PersonWaitAddListVO;
import com.fsc.service.GroupMemberService;
import com.fsc.mapper.GroupMemberMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86183
* @description 针对表【group_member(群人员信息表)】的数据库操作Service实现
* @createDate 2024-06-02 13:15:22
*/
@Service
public class GroupMemberServiceImpl extends ServiceImpl<GroupMemberMapper, GroupMember>
    implements GroupMemberService{
    @Resource
    private GroupMemberMapper groupMemberMapper;

    @Override
    public List<GroupListContactVO> getYourGroupList(Integer id) {
        return groupMemberMapper.getYourGroupList(id);
    }

    @Override
    public List<PersonContactListVO> getGroupMemberList(Integer groupId) {
        return groupMemberMapper.getGroupMemberList(groupId);
    }

    @Override
    public List<GroupWaitAddListVO> getWaitAddList(Integer id) {
        return groupMemberMapper.getWaitAddList(id);
    }
}




